package com.example.canteen.dao;

import com.example.canteen.domain.Student;

import java.util.List;

public interface StudentDao {
    public Student findById(int id);
    public List<Student> findAll();
    public int delete(int id);
    public void save(Student student);
    public int update(Student student);
    public Student findByUsernameAndPassword(int id, String password);
}
